export interface Card {
  id: number;
  title: string;
  front_image: string;
  back_text: string;
  audio_path?: string;
  audio_text?: string;
  created_at: string;
  updated_at: string;
}

export interface APIResponse<T> {
  code: number;
  data: T;
}

export interface CreateCardRequest {
  title: string;
  front_image: string;
  back_text: string;
  audio_path?: string;
  audio_text?: string;
}

export interface UpdateCardRequest {
  title: string;
  front_image: string;
  back_text: string;
  audio_path?: string;
  audio_text?: string;
} 